package com.example.forum.utils;

import java.util.UUID;

public class UUIDUtil {
    /*
    * 生产36位uuid
    * */
    public String UUIDD_36() {
        return UUID.randomUUID().toString();
    }
    /*
    * 生成32位UUID
    * */
    public static String UUID_32() {
        return UUID.randomUUID().toString().replace("-","");
    }
}
